package com.stellar.circle.convert;

import com.stellar.circle.basic.entity.SChatRelationship;
import com.stellar.circle.controller.admin.sChatRelationship.vo.SChatRelationshipRequestPageVO;
import com.stellar.circle.controller.admin.sChatRelationship.vo.SChatRelationshipRequestVO;
import com.stellar.circle.controller.admin.sChatRelationship.vo.SChatRelationshipResponseVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 用户聊天关系表转换器
 * @author Jqchan
 * @version 1.0
 * @date 2025-06-12 21:21:38
 */
@Mapper
public interface SChatRelationshipConvert {

    SChatRelationshipConvert INSTANCE = Mappers.getMapper(SChatRelationshipConvert.class);

    SChatRelationship convert(SChatRelationshipResponseVO responseVO);

    SChatRelationship convert(SChatRelationshipRequestVO requestVO);

    SChatRelationship convert(SChatRelationshipRequestPageVO requestPageVO);

    SChatRelationshipResponseVO convert(SChatRelationship entity);

    List<SChatRelationshipResponseVO> convertEntityToRespList(List<SChatRelationship> entities);
}
